package syt;

import com.chinasoft.tw.pojo.Info;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class Syt {String name;
    List<String> wordList = new ArrayList<>();
    Random random = new Random();

    public Syt() {
        this.name = "syh";
        wordList.add("明天不上课 ！");
    }

    public Info getTrueWord() {
        Info info = new Info(name, wordList.get(random.nextInt(wordList.size())));
        return info;
    }
}
